import Vue from 'vue'
import Router from 'vue-router'
// @ts-ignore
import HelloWorld from '@/components/HelloWorld'
import Demo01ComponentParamsDemo01 from '../pages/demo01-component-params/demo01'
import Demo01ComponentParamsDemo02 from '../pages/demo01-component-params/demo02'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/demo01-component-params/demo01',
      name: 'Demo01ComponentParamsDemo01',
      component: Demo01ComponentParamsDemo01
    },
    {
      path: '/demo01-component-params/demo02',
      name: 'Demo01ComponentParamsDemo02',
      component: Demo01ComponentParamsDemo02
    }
  ]
})
